package Com.Hupochuan.Vo;

import java.sql.Date;

/*
 * 年份表 Years
 */
public class Year {
	//				字段名			字段类型		中文解析		缺省(Default)	备注
	private Long 	id;//			INT			ID			AUTO_INCREMENT	PRIMARY KEY
	private String 	name;//			VARCHAR(50)	名称			(空字符串)		UNIQUE KEY
	private Date 	startDate;//	DATE		开始日期		No default	
	private Date 	endDate;//		DATE		结束时间		No default	
	private Float 	weight;//		FLOAT		权重			0	
	
	/*
	 * 参数注入
	 */
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public Float getWeight() {
		return weight;
	}
	public void setWeight(Float weight) {
		this.weight = weight;
	}
}
